import { createStore, applyMiddleware,combineReducers  } from 'redux';
import {List} from './List.reducer'
import {Filter} from './Filter.reducer'

import thunkMiddleware from 'redux-thunk';

const rootReducer =combineReducers({
List,
Filter
});

export const store = createStore(
    rootReducer,
    applyMiddleware(
        thunkMiddleware,
    )
);